//
//  ChapterDBService.h
//  readNovels
//
//  Created by wulanzhou on 2017/2/28.
//  Copyright © 2017年 wulanzhou. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DBInterface.h"
#import "Chapter.h"
#import "ChapterHpple.h"

//章节操作
@interface ChapterDBService : NSObject<DBInterface>


//下载章节
- (void)downloadChaptersWithBookId:(NSInteger)book_id hpple:(ChapterHpple *)chapterHpple;

//下载章节
- (void)downloadChapters:(NSArray <Catalog *> *)catalogs hpple:(ChapterHpple *)chapterHpple;

- (NSArray <Chapter *> *)chapterWithBookId:(NSInteger)book_id;

@end
